package org.com.FeignFallback;

import Entity.OrderVoucher;
import org.com.FeignClient.OrderFeign;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.util.List;

@Component

public class OrderFallback implements OrderFeign {

    private static final Logger log = LoggerFactory.getLogger(OrderFallback.class);

    @Override
    public List<OrderVoucher> list() {
        log.info("order.list熔断处理");
        return List.of();
    }
}
